#include "MaterialsCollection.h"

MaterialsCollection::MaterialsCollection(void)
{
}

MaterialsCollection::~MaterialsCollection(void)
{
}

void MaterialsCollection::Add(Material *material)
{
	materials.push_back(material);
}

Material *MaterialsCollection::operator [] (int i)
{
	if (materials.size() <= (size_t)i)
		return NULL;

	return materials[i];
}
